//
//  DetailBannerMediaTabView.m
//  BaseProject
//
//  Created by 王洋 on 2020/9/24.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "DetailBannerMediaTabView.h"

@implementation DetailBannerMediaTabView

- (void)layoutSubviews {
    [super layoutSubviews];
    
    WEAKSELF
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        
        [weakSelf.photoBtn pp_clipCorners:UIRectCornerAllCorners radius:weakSelf.photoBtn.frame.size.height/2];
        [weakSelf.videoBtn pp_clipCorners:UIRectCornerAllCorners radius:weakSelf.photoBtn.frame.size.height/2];
    });
}

@end
